package com.zx.mapper;

import com.zx.pojo.SmbmsAddress;
import com.zx.pojo.SmbmsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.zx.pojo.SmbmsAddress
 */
public interface SmbmsAddressMapper {
    /**
     * 查询所有用户
     */
    public List<SmbmsAddress> findAllByUsers1();
    /**
     * 详情
     *
     * @param uid
     * @return
     */
    public SmbmsAddress findUsersById(Long uid);

    /**
     * 添加用户
     *
     * @param user
     * @return
     */
        public boolean addUsers(SmbmsAddress user);

    /**
     * 修改用户
     *
     * @param user
     * @return
     */
    public boolean updateUsers(SmbmsAddress user);

    /**
     * 删除用户
     *
     * @param uid
     * @return
     */
    public boolean delUsers(Long uid);

}




